﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DDE_Server.Common;

namespace DDE_Server.View
{
    public partial class StrategyBuilderView : UserControl
    {
        public StrategyBuilderView()
        {
            InitializeComponent();
            Init_Compare();
            Init_TopAvg();
            Init_Bid();

        }
        public void Init_Compare() {

            for (Compare i = Compare.G; i < Compare.E; i++)
            {
                compare_combx.Items.Add(Global.Text(i));
            }
        }

        public void Init_TopAvg()
        {

            for (Distpatch i = Distpatch.TOP1; i < Distpatch.Max; i++)
            {
                top_combx.Items.Add(Global.Text(i));
            }
        }

        public void Init_Bid()
        {

            for (BidOffer i = BidOffer.B; i < BidOffer.Max; i++)
            {
                bigOffer_combx.Items.Add(Global.Text(i));
            }
        }
    }
}
